import { useState, useEffect } from 'react'
import { resourcePath } from '../../../utils/resource';
import './index.less';
export default function BlockTitle(props) {
    return <>
        <div className={`block-title ${props.className}`} style={{
            backgroundImage: `url(${resourcePath.blockTitleBg})`,
            height: 38,
            backgroundSize: '100% 100%',
            fontSize: 18,
            lineHeight: '40px',
            paddingLeft: 12,
            fontWeight: "bold",
            ...props.style
        }}>
            <div className='block-title-text'>{props.children}</div>
        </div>
    </>;
}